feat(v11): Drop TypeScript 3.8 support#18604
Conversation
node-overhead report 🧳Note: This is a synthetic benchmark with a minimal express app and does not necessarily reflect the real-world performance impact in an application.
|
424934f to
dea5658
Compare
bf9dfc3 to
f8824a4
Compare
|
This pull request has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you apply the label |
0ccb9a1 to
fb2b2d8
Compare
410a72f to
bc07973
Compare
bc07973 to
21ebf07
Compare
size-limit report 📦
|
b48cbc7 to
18271b3
Compare
e2e63ad to
b4b2d6c
Compare
24b41c9 to
3131d3e
Compare
b4b2d6c to
0b68598
Compare
0b68598 to
e97c2ad
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit e97c2ad. Configure here.
| }, | ||
| "volta": { | ||
| "extends": "../../package.json" | ||
| }, |
There was a problem hiding this comment.
Esbuild override removed accidentally
Medium Severity
Cleaning up the TS 3.8 sentryTest variants also dropped the unrelated pnpm.overrides pin for esbuild at 0.24.0. That pin is a bundler constraint, not TypeScript downlevel support, and similar apps such as astro-5 still keep it. Losing it can make these Vite E2E installs resolve a different esbuild and break test:build.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit e97c2ad. Configure here.
7e8b35b to
254056d
Compare
53fe796 to
0ee945d
Compare
Minimum supported TypeScript is now 5.0, so remove the downlevel-dts type path and the TS 3.8 test surface: - drop each package's typesVersions "<5.0" mapping and the build:types:downlevel step (build:types is just tsc now) - remove downlevel-dts and the ts3.8 shim scripts/type-shims - bump the node integration-test TS matrix to 5.0 (use-ts-5_0) - drop the TS 3.8 e2e variants and the generic-ts3.8 app - use the built-in Awaited type instead of the vendored shim
0ee945d to
30858f5
Compare


Summary
Removes support for generating and publishing TypeScript 3.8 downleveled type definitions across all packages.
The changes simplify the build process by eliminating scripts, dependencies, and configuration related to downleveling types, and update test and project configuration accordingly.
closes #18477
TODO:
package.json